package com.xisoft.bx.entity.SqBill;

import com.xisoft.core.product.entity.reference.Reference;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 作者：*****
 * @description 类描述：BX_BILL 申请单主表
 * @create 创建时间：20220926
 * @update 修改时间：20220926
 */
@Data
@Table(name = "BX_BILL")
public class BillVO {

    //申请单ID
    @Id
    @Column(name = "BB_ID")
    private String bb_id;

    //申请单编码
    @Column(name = "BB_CODE")
    private String bb_code;

    //申请单名称
    @Column(name = "BB_NAME")
    private String bb_name;

    //单据类型ID
    @Column(name = "BBD_ID")
    private Reference bbd_id;

    //集团
    @Column(name = "PK_GROUP")
    private Reference pk_group;

    //组织
    @Column(name = "PK_ORG")
    private Reference pk_org;

    //申请科室
    @Column(name = "ORG_ID")
    private Reference org_id;

    //单位
    @Column(name = "COMPANY_ID")
    private Reference company_id;

    //供应商
    @Column(name = "TU_ID")
    private Reference tu_id;

    //申请人
    @Column(name = "USER_ID")
    private Reference user_id;

    //申请人名称
    @Column(name = "USER_NAME")
    private String user_name;

    //录入人
    @Column(name = "ENTOR")
    private Reference entor;

    //录入日期
    @Column(name = "ENTER_DATE")
    private String enter_date;

    //审批人
    @Column(name = "APPROVOR")
    private Reference approvor;

    //审批日期
    @Column(name = "APPROVAL_DATE")
    private String approval_date;

    //单据状态
    @Column(name = "STATUS")
    private Reference status;

    //费用对象名称
    @Column(name = "COSTOR_NAME")
    private String costor_name;

    //费用对象
    @Column(name = "COSTOR")
    private String costor;

    //汇率
    @Column(name = "RATE")
    private String rate;

    //币种
    @Column(name = "CURRENCY")
    private String currency;

    //是否借款
    @Column(name = "ISBORROW")
    private String isborrow;

    //借款金额
    @Column(name = "BORROW_AMOUNT")
    private double borrow_amount;

    //申请金额
    @Column(name = "APPLY_AMOUNT")
    private double apply_amount;

    //联系电话
    @Column(name = "USER_MOBILE")
    private String user_mobile;

    //出差日期
    @Column(name = "TRAVEL_DATE")
    private String travel_date;

    //返回日期
    @Column(name = "RETURN_DATE")
    private String return_date;

    //出差天数
    @Column(name = "TRAVEL_DAYS")
    private double travel_days;

    //外出类型
    @Column(name = "TRAVEL_TYPE")
    private String travel_type;

    //会议类型
    @Column(name = "METTING_TYPE")
    private String metting_type;

    //地点
    @Column(name = "AREA")
    private String area;

    //出差期限
    @Column(name = "TRAVEL_PERIOD")
    private String travel_period;

    //出差任务
    @Column(name = "TRAVEL_TASK")
    private String travel_task;

    //交通工具
    @Column(name = "TRAVEL_TOOLS")
    private String travel_tools;

    //论文类型
    @Column(name = "PAPER_TYPE")
    private String paper_type;

    //培训类型
    @Column(name = "TRAIN_TYPE")
    private String train_type;

    //论文标题
    @Column(name = "PAPER_TITLE")
    private String paper_title;

    //会议名称
    @Column(name = "METTING_NAME")
    private String metting_name;

    //会议人数
    @Column(name = "METTING_COUNT")
    private double metting_count;

    //来访单位
    @Column(name = "VISIT_UNIT")
    private String visit_unit;

    //接待人数
    @Column(name = "RECEPT_COUNT")
    private double recept_count;

    //陪同人数
    @Column(name = "ACCOMPANY_COUNT")
    private double accompany_count;

    //事由
    @Column(name = "REASON")
    private String reason;

    //项目ID
    @Column(name = "TASK_ID")
    private Reference task_id;

    //项目编号
    @Column(name = "TASK_CODE")
    private String task_code;

    //项目名称
    @Column(name = "TASK_NAME")
    private String task_name;

    //项目负责人
    @Column(name = "TASK_USERID")
    private Reference task_userid;

    //项目来源
    @Column(name = "TASK_SOURCE")
    private String task_source;

    //项目开始时间
    @Column(name = "TASK_BEGIN_DATE")
    private String task_begin_date;

    //项目结束时间
    @Column(name = "TASK_END_DATE")
    private String task_end_date;

    //总经费
    @Column(name = "TASK_AMONUT")
    private double task_amonut;

    //差旅/会议/国际交流费预算额
    @Column(name = "TASK_OTHER_AMOUNT")
    private double task_other_amount;

    //承担科室
    @Column(name = "BEAR_ORG_ID")
    private Reference bear_org_id;

    //经费来源
    @Column(name = "AMOUNT_SOURCE")
    private Reference amount_source;

    //经费主管部门
    @Column(name = "AMOUNT_ORG_ID")
    private String amount_org_id;

    //是否需要机票代理
    @Column(name = "TICKET_AGENT")
    private String ticket_agent;

    //票务科室
    @Column(name = "TICKET_ORG_ID")
    private Reference ticket_org_id;

    //费用预计日期
    @Column(name = "COST_DATE")
    private String cost_date;

    //删除标志
    @Column(name = "DELETE_FLAG")
    private String delete_flag;

    //表单编号
    @Column(name = "PC_FORM_CODE")
    private String pc_form_code;

    //报销关联
    @Column(name = "BX_BILL_LINK")
    private String bx_bill_link;

    //核算属性
    @Column(name = "OATTRIBUTE")
    private String oattribute;

    //收款人
    @Column(name = "RECEIVE_USER")
    private String receive_user;

    //收款银行账户
    @Column(name = "RECEIVE_USER_BANKINFO")
    private String receive_user_bankinfo;

    //开户行账号
    @Column(name = "TUB_ACCOUNT_NUMBER")
    private String tub_account_number;

    //单位开户行
    @Column(name = "TUB_BANK")
    private String tub_bank;

    //单位银行类别
    @Column(name = "TUB_TYPE")
    private String tub_type;

    //OA单据编码
    @Column(name = "OA_DJCODE")
    private String oa_djcode;

    //OA单据类型
    @Column(name = "OA_DJTYPE")
    private String oa_djtype;

    //是否论文
    @Column(name = "IS_PAPER")
    private String is_paper;

    //是否报销
    @Column(name = "IS_ACCOUNT")
    private String is_account;

    //支付方式
    @Column(name = "PAY_TYPE")
    private String pay_type;

    //主办单位
    @Column(name = "ORGANIZER")
    private String organizer;

    //申请人工号
    @Column(name = "USER_CODE")
    private String user_code;

    //人数
    @Column(name = "PERSON_COUNT")
    private double person_count;

    //创建人
    @Column(name = "CREATOR")
    private String creator;

    //创建日期
    @Column(name = "CREATEON")
    private String createon;

    //修改人
    @Column(name = "MODIFIER")
    private String modifier;

    //修改日期
    @Column(name = "MODIFIEDON")
    private String modifiedon;

    //自定义项1
    @Column(name = "DEF1")
    private String def1;

    //自定义项2
    @Column(name = "DEF2")
    private String def2;

    //自定义项3
    @Column(name = "DEF3")
    private String def3;

    //自定义项4
    @Column(name = "DEF4")
    private String def4;

    //自定义项5
    @Column(name = "DEF5")
    private String def5;

    //自定义项6
    @Column(name = "DEF6")
    private String def6;

    //自定义项7
    @Column(name = "DEF7")
    private String def7;

    //自定义项8
    @Column(name = "DEF8")
    private String def8;

    //自定义项9
    @Column(name = "DEF9")
    private String def9;

    //自定义项10
    @Column(name = "DEF10")
    private String def10;

    //自定义项11
    @Column(name = "DEF11")
    private String def11;

    //自定义项12
    @Column(name = "DEF12")
    private String def12;

    //自定义项13
    @Column(name = "DEF13")
    private String def13;

    //自定义项14
    @Column(name = "DEF14")
    private String def14;

    //自定义项15
    @Column(name = "DEF15")
    private String def15;

    //自定义项16
    @Column(name = "DEF16")
    private String def16;

    //自定义项17
    @Column(name = "DEF17")
    private String def17;

    //自定义项18
    @Column(name = "DEF18")
    private String def18;

    //自定义项19
    @Column(name = "DEF19")
    private String def19;

    //自定义项20
    @Column(name = "DEF20")
    private String def20;

    //自定义项21
    @Column(name = "DEF21")
    private String def21;

    //自定义项22
    @Column(name = "DEF22")
    private String def22;

    //自定义项23
    @Column(name = "DEF23")
    private String def23;

    //自定义项24
    @Column(name = "DEF24")
    private String def24;

    //自定义项25
    @Column(name = "DEF25")
    private String def25;

    //自定义项26
    @Column(name = "DEF26")
    private String def26;

    //自定义项27
    @Column(name = "DEF27")
    private String def27;

    //自定义项28
    @Column(name = "DEF28")
    private String def28;

    //自定义项29
    @Column(name = "DEF29")
    private String def29;

    //自定义项30
    @Column(name = "DEF30")
    private String def30;

    //扩展字段1
    @Column(name = "EXTEND1")
    private String extend1;

    //出差期间工作委托人
    @Column(name = "EXTEND2")
    private String extend2;

    //年度出差次数
    @Column(name = "EXTEND3")
    private String extend3;

    //扩展字段4
    @Column(name = "EXTEND4")
    private String extend4;

    //扩展字段5
    @Column(name = "EXTEND5")
    private String extend5;

    //扩展字段6
    @Column(name = "EXTEND6")
    private String extend6;

    //扩展字段7
    @Column(name = "EXTEND7")
    private String extend7;

    //扩展字段8
    @Column(name = "EXTEND8")
    private String extend8;

    //扩展字段9
    @Column(name = "EXTEND9")
    private String extend9;

    //扩展字段10
    @Column(name = "EXTEND10")
    private String extend10;

    //扩展字段11
    @Column(name = "EXTEND11")
    private String extend11;

    //扩展字段12
    @Column(name = "EXTEND12")
    private String extend12;

    //扩展字段13
    @Column(name = "EXTEND13")
    private String extend13;

    //扩展字段14
    @Column(name = "EXTEND14")
    private String extend14;

    //扩展字段15
    @Column(name = "EXTEND15")
    private String extend15;

    //扩展字段16
    @Column(name = "EXTEND16")
    private String extend16;

    //扩展字段17
    @Column(name = "EXTEND17")
    private String extend17;

    //扩展字段18
    @Column(name = "EXTEND18")
    private String extend18;

    //扩展字段19
    @Column(name = "EXTEND19")
    private String extend19;

    //app文件上传
    @Column(name = "EXTEND20")
    private String extend20;

}
